package com.zhidian.edm.service;

import com.zhidian.edm.entity.SysRolePO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhidian.edm.param.AddRoleParam;
import com.zhidian.edm.param.UpdateRoleMenuParam;
import com.zhidian.edm.vo.SysRoleVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sl
 * @since 2025-09-18
 */
public interface ISysRoleService extends IService<SysRolePO> {

    List<SysRoleVO> getRoleList();

    SysRoleVO getRoleDetailById(Long roleId);

    void deleteRoleById(Long roleId);

    void updateRoleAndMenuAuth(UpdateRoleMenuParam param);

    void addRole(AddRoleParam param);
}
